package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用于存储资产领用明细信息的对象 hmz_asset_usage_detail
 * 
 * @author ruoyi
 * @date 2023-11-10
 */
public class HmzAssetUsageDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资产领用明细唯一标识符 */
    private Long id;

    /** 资产领用唯一标识符 */
    @Excel(name = "资产领用唯一标识符")
    private Long assetUsageId;

    /** 资产领用单号 */
    @Excel(name = "资产领用单号")
    private String assetUsageNumber;

    /** 产品唯一标识符 */
    @Excel(name = "产品唯一标识符")
    private Long productId;

    /** 仓库唯一标识符 */
    @Excel(name = "仓库唯一标识符")
    private Long warehouseId;

    /** 领用人员 */
    @Excel(name = "领用人员")
    private String userName;

    /** 领用状态 */
    @Excel(name = "领用状态")
    private String usageStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAssetUsageId(Long assetUsageId) 
    {
        this.assetUsageId = assetUsageId;
    }

    public Long getAssetUsageId() 
    {
        return assetUsageId;
    }
    public void setAssetUsageNumber(String assetUsageNumber) 
    {
        this.assetUsageNumber = assetUsageNumber;
    }

    public String getAssetUsageNumber() 
    {
        return assetUsageNumber;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUsageStatus(String usageStatus) 
    {
        this.usageStatus = usageStatus;
    }

    public String getUsageStatus() 
    {
        return usageStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetUsageId", getAssetUsageId())
            .append("assetUsageNumber", getAssetUsageNumber())
            .append("productId", getProductId())
            .append("warehouseId", getWarehouseId())
            .append("userName", getUserName())
            .append("usageStatus", getUsageStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
